www.gusucode.com > 基于Visual C++高级界面特效制作百例源码程序 > 基于Visual C++高级界面特效制作百例源码程序/code/char12/stretched_round_button/RndBtnDemoDlg.cpp

    // RndBtnDemoDlg.cpp : implementation file
//

#include "stdafx.h"
#include "RndBtnDemo.h"
#include "RndBtnDemoDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRndBtnDemoDlg dialog

CRndBtnDemoDlg::CRndBtnDemoDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CRndBtnDemoDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CRndBtnDemoDlg)
	//}}AFX_DATA_INIT
}

void CRndBtnDemoDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CRndBtnDemoDlg)
	DDX_Control(pDX, IDBUTTON1,  m_Button1);
	DDX_Control(pDX, IDBUTTON2,  m_Button2);
	DDX_Control(pDX, IDBUTTON3,  m_Button3);
	DDX_Control(pDX, IDCANCEL,   m_Button5);
	DDX_Control(pDX, IDC_BUTTON1,m_Button6);
	DDX_Control(pDX, IDC_BUTTON2,m_Button7);
	//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CRndBtnDemoDlg, CDialog)
	//{{AFX_MSG_MAP(CRndBtnDemoDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CRndBtnDemoDlg message handlers

BOOL CRndBtnDemoDlg::OnInitDialog()
{
	CDialog::OnInitDialog();

	return TRUE;  // return TRUE  unless you set the focus to a control
}